require 'watir'
include Watir
require 'test/unit'
#require 'config/watir.config.rb'

class TC_RunIt < Test::Unit::TestCase
  
  def test_runIt
#    $Title = 'a'#randomChar(10)
    $Description = 'z'#randomChar(100)
#    @@ie = Watir::IE.start($SITE_URL)    
    
    ie = IE.new
    ie.goto('http://localhost/cs/ControlPanel/Blogs/AboutOptions.aspx')
    ie.ie.Document.parentWindow.execScript("tinyMCE.getInstanceById(tinyMCE.getEditorId('mce_editor_0')).execCommand('mceSetContent', false, '" + $Description + "')")
  end
  end